//
//  RentHouseListViewController.m
//  Utils
//
//  Created by enghou on 2018/4/28.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "RentHouseListViewController.h"
#import "RealHouseSearchViewController.h"
@interface RentHouseListViewController ()

@end

@implementation RentHouseListViewController

-(NSDictionary *)param{
    NSMutableDictionary *param = [[super param]mutableCopy];
    if (param) {
        [param setObject:@"true" forKey:@"searchVo.isRentalHouse"];
    }
    return param;
}

-(void)searchAction{
    RealHouseSearchViewController *search = (RealHouseSearchViewController *)[VCLoader vcWithName:@"RealHouseSearchViewController"];
    NSLog(@"%@",search.view);
    search.title = @"房屋查询";
    [search.yesBtn setImage:[UIImage imageNamed:@"icon_choose_selected"] forState:UIControlStateNormal];
    search.yesBtn.enabled = NO;
    search.notBtn.enabled = NO;
    search.theDelete = self;
    [self push:search];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

@end
